home *** CD-ROM | disk | FTP | other *** search
/ Aminet 50 / Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso / STFax / STFax / Rexx / AnswerHookExample.stfax next >
Text File  |  1997-12-20  |  264b  |  18 lines

  1. /*
  2.     This is an example of answer hook.
  3.  
  4.     It uses fax2ps to print every fax you receive to your
  5.     PostScript printer.
  6. */
  7.  
  8. Address 'STFAX.1'
  9.  
  10. Options Results
  11.  
  12. 'GETLASTRECEIVED'
  13. Fax = result
  14.  
  15. Address Command 'STFax:Contributions/fax2ps "'Fax'" >PAR:'
  16.  
  17. Exit 0
  18.